package com.tanhua.dubbo.api.mongo;

import cn.hutool.core.lang.ObjectId;
import com.tanhua.model.mongo.Focus;
import com.tanhua.model.mongo.Video;
import com.tanhua.model.vo.PageResult;

public interface VideosApi {
    void saveVideo(Video video);

    PageResult<Video> findVideoList(Long page, Long pagesize);

    void focusUser(Focus focus, Long userId);

    void userUnFocus(Long uid, Long userId);

    void likeVideo(String id,Long userId);


    void disLike(String id, Long userId);

    PageResult getRecommend(Long page, Long pagesize, String[] vid);
}
